<%--<%@ page contentType="text/html;charset=UTF-8" language="java" %>--%>
<%--<html>--%>
<%--<head>--%>
<%--    <title>Title</title>--%>
<%--</head>--%>
<%--<body>--%>
<%--    <h1>添加账户信息表单</h1>--%>
<%--    <form name="accountForm" action="${pageContext.request.contextPath}/account/save" method="post">--%>
<%--        账户名称:<input type="text" name="name" ><br>--%>
<%--        账户金额:<input type="text" name="money"><br>--%>
<%--        <input type="submit" value="保存"><br>--%>
<%--    </form>--%>
<%--    <a href="${pageContext.request.contextPath}/account/findAll">查看所有账户</a>--%>
<%--    <a href="index.jsp">返回首页</a>--%>

<%--</body>--%>
<%--</html>--%>




<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
   <title>新增账户</title>
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <!-- 引入 Bootstrap -->
   <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <style>

        .btn {
            text-align: center;
            padding: 5px;
            width: 10%;
            margin-top: 40px;
            background-image: linear-gradient(to right, #a6c1ee, #fbc2eb);

            color: #fff;
        }
    </style>
</head>
<body>
<div class="container">

   <div class="row clearfix">
       <div class="col-md-12 column">
           <div class="page-header">
               <h1>
                   <small>新增账户</small>
               </h1>
           </div>
       </div>
   </div>
   <form action="${pageContext.request.contextPath}/account/save" method="get">
<%--       加上required必须写上才能提交--%>
      账户名称：<input type="text" name="name" required><br><br><br>
      账户金额：<input type="text" name="money" required><br><br><br>
      账户描述：<input type="text" name="detail" required><br>
  <input class="btn" type="submit" value="提交">
<a class="btn" href="${pageContext.request.contextPath}/account/findAll">返回账户界面</a>
   </form>



</div>

